package br.com.fogas.webservice.autorizacao;

public class UserPassBuilder {
	
	private boolean authByToken;
	
	private String token;
	
	private String username;
	
	private String password;
	
	public UserPassBuilder authByToken(boolean authByToken) {
		this.authByToken = authByToken;
		return this;
	}
	
	public boolean isAuthByToken() {
		return authByToken;
	}
	
	public UserPassBuilder token(String token) {
		this.token = token;
		return this;
	}
	
	public String getToken() {
		return token;
	}
	
	public UserPassBuilder user(String username) {
		this.username = username;
		return this;
	}
	
	public String getUser() {
		return username;
	}
	
	public UserPassBuilder password(String password) {
		this.password = password;
		return this;
	}
	
	public String getPassword() {
		return password;
	}
}